#ifndef _A_H_
#define _A_H_
void f();
//int global; // is a definition not a declaration
extern int global;

class A {
    private:
    int i; //可以给public使用
    public:
    void f();
};

#endif



 